package com.maple.phoneward.constants;

import java.io.Serializable;

import android.content.IntentFilter;
import android.os.Environment;

/**
 * Constants.java
 * 
 * @author: YaJian Qiu
 * @Time 2013-3-19 上午11:17:18<br>
 *       本类描述: 常量
 */
public class Constants implements Serializable {

	private static final long serialVersionUID = -566583012422638360L;

	/**
	 * 功能：换卡通知
	 */
	public static final int FUN_CHANGE_SIM_NOTIFY = 0;
	/**
	 * 功能：手机定位
	 */
	public static final int FUN_PHONE_LOCATION = 1;
	/**
	 * 功能：备份数据
	 */
	public static final int FUN_BACKUP_DATA = 2;
	/**
	 * 功能：销毁数据
	 */
	public static final int FUN_DESTORY_DATA = 3;
	/**
	 * 功能：播放警音
	 */
	public static final int FUN_PLAY_SOUND = 4;
	/**
	 * 功能：锁定手机
	 */
	public static final int FUN_LOCK_PHONE = 5;
	/**
	 * 功能：系统设置
	 */
	public static final int FUN_SYSTEM_SETTING = 6;
	/**
	 * 功能：使用帮助
	 */
	public static final int FUN_HELP = 7;

	public static final String TYPE_PHONE = "phone";
	public static final String TYPE_SIM = "sim";
	public static final String TYPE_UNKNOW = "unknow";
	public static final Integer TYPE_PHONE_CODE = 0;
	public static final Integer TYPE_SIM_CODE = 1;
	public static final Integer TYPE_UNKNOW_CODE = -1;

	/**
	 * int类型的最大值[1000]，用于设置拦截广播的级别
	 */
	public static final Integer HIGH_PRIORITY = IntentFilter.SYSTEM_HIGH_PRIORITY;
	/**
	 * int最大值[2147483647]
	 */
	public static final Integer INTEGER_MAX_VALUE = Integer.MAX_VALUE;

	/**
	 * 所有短信
	 */
	public static final String SMS_URI_ALL = "content://sms/";
	/**
	 * 收信箱
	 */
	public static final String SMS_URI_INBOX = "content://sms/inbox";
	/**
	 * 发信箱
	 */
	public static final String SMS_URI_SEND = "content://sms/sent";
	/**
	 * 草稿箱
	 */
	public static final String SMS_URI_DRAFT = "content://sms/draft";

	/**
	 * 解锁图案密码
	 */
	public static final String LOCK_PATTERN = "lockPattern";
	/**
	 * 是否第一次启动程序
	 */
	public static final String IS_FIRST_START = "isFirstStart";

	/**
	 * 防盗服务是否开启
	 */
	public static final String IS_SERVICE_OPEN = "isServiceOpen";

	/**
	 * 开机锁定
	 */
	public static final String IS_POWER_ON_LOCKED = "isPowerOnLocked";
	/**
	 * 换卡锁定
	 */
	public static final String IS_SIM_CHANGE_LOCKED = "isSimChangeLocked";
	/**
	 * 换卡通知
	 */
	public static final String IS_SIM_CHANGE_NOTIFY = "isSimChangeNotify";
	/**
	 * 是否是锁定手机模式
	 */
	public static final String IS_LOCK_MODEL = "isLockModel";
	
	/**
	 *是否是体验模式 
	 */
	public static final String IS_EXPERIENCE_MODEL = "isExperienceModel";
	/**
	 * 本机号码
	 */
	public static final String CONFIG_PHONE_NUMBER = "phoneNumber";
	/**
	 * 防盗密码
	 */
	public static final String CONFIG_PHONEWARD_PASSWORD = "phonewardPassword";
	/**
	 * Preference文件的名字
	 */
	public static final String PREFERENCE_NAME = "365phoneward_preference";
	/**
	 * 安全号码[用于发送指令]
	 */
	public static final String CONFIG_SAFETY_PHONE_NUMBER_1 = "safetyPhoneNumber1";
	public static final String CONFIG_SAFETY_PHONE_NUMBER_2 = "safetyPhoneNumber2";
	/**
	 * SIM卡序列
	 */
	public static final String CONFIG_SIM_SEQUENCE = "simSequence";
	/**
	 * 手机型号
	 */
	public static final String CONFIG_PHONE_TYPE = "phoneType";
	/**
	 * 手机IMEI
	 */
	public static final String CONFIG_PHONE_IMEI = "phoneImei";
	/**
	 * 系统版本
	 */
	public static final String CONFIG_SYSTEM_VERSION = "systemVersion";
	/**
	 * 备份邮箱
	 */
	public static final String CONFIG_EMAIL = "email";
	/**
	 * 应用名称
	 */
	public static final String APP_NAME = "365防盗卫士";
	/**
	 * 应用存放数据的目录
	 */
	public static final String APP_DATA_DIR = Environment.getExternalStorageDirectory().getAbsolutePath() + "/Android/data/com.maple.phoneward.activity/";

	// 远程指令
	public static final String CMD_BACKUP_DATA = "beifen#";

}
